@echo off
REM   设置当前前端口为utf-8 的编码格式
chcp 65001

    echo 'Delete my VIM profile, historical data file! '
    :: 备份原有的配置文件
    
    :: 切换到用户目录
    cd "%userprofile%"

    :: 切换回原来的盘符
    %nowBatDird%
    cd  %nowBatDir%

    :: 安静删除 不用提示
    rmdir /S/Q %userprofile%\AppData\Local\nvim
    del   /Q   %userprofile%\.vim-bookmarks
    del   /Q   %userprofile%\.viminfo
    del   /Q   %userprofile%\.NERDTreeBookmarks
    rmdir /S/Q %userprofile%\.undodir
    rmdir /S/Q %userprofile%\.nvim
    rmdir /S/Q %userprofile%\.SpaceVim.d
    del   /Q  %userprofile%\.SpaceVim.d
    rmdir /S/Q %userprofile%\AppData\Local\nvim-data

    REM rmdir /S/Q %userprofile%\.SpaceVim

    echo Over!
:: 暂停
pause
